package com.stream.repository;

import com.stream.model.entity.TokenEntity;

/**
 * Created by yebaokang on 2017/5/22.
 */
public interface TokenRepository extends BaseRepository<TokenEntity>{

    TokenEntity queryByUserId(Long userId);

    TokenEntity queryByToken(String token);
}
